Description
Used to define the gradient fill in a complex polygon symbol.
Diagram
Overview
|
GRADIENTFILL
Used to define the gradient fill in a complex polygon symbol.
|
angle optional Restriction of xs:double
Direction of fill gradient in degrees clockwise.
|
|
gradienttype optional Restriction of xs:string
The shape of the gradient.
|
|
intervals optional Restriction of xs:int
Number of colors used in the gradient
|
|
percentage optional Restriction of xs:int
The saturation distribution between the colors. Controls the bleeding effect of the fill.
|
|
Sequence
|
COLORRAMP
Used to define the color ramp in a gradient fill complex polygon symbol.
|
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
angle | Restriction of xs:double | optional | 0.0 | | Direction of fill gradient in degrees clockwise. |
gradienttype | Restriction of xs:string | optional | linear | | The shape of the gradient. |
intervals | Restriction of xs:int | optional | 5 | | Number of colors used in the gradient |
percentage | Restriction of xs:int | optional | 75 | | The saturation distribution between the colors. Controls the bleeding effect of the fill. |
Examples
Source
<xs:element name="GRADIENTFILL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to define the gradient fill in a complex polygon symbol.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="COLORRAMP" />
</xs:sequence>
<xs:attribute default="0.0" name="angle">
<xs:annotation>
<xs:documentation>Direction of fill gradient in degrees clockwise.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0.0" />
<xs:maxInclusive value="360.0" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="linear" name="gradienttype">
<xs:annotation>
<xs:documentation>The shape of the gradient.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="linear" />
<xs:enumeration value="rectangular" />
<xs:enumeration value="circular" />
<xs:enumeration value="buffered" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="5" form="unqualified" name="intervals">
<xs:annotation>
<xs:documentation>Number of colors used in the gradient</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="75" name="percentage">
<xs:annotation>
<xs:documentation>The saturation distribution between the colors. Controls the bleeding effect of the fill.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
<xs:maxInclusive value="100" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also